package com.juicygames.framework.property;

import com.juicygames.framework.gamepart.GamePart;

public class BooleanProperty extends GamePart implements GameProperty<Boolean>  {
	
	private Boolean value;
	
	public BooleanProperty(Boolean value) {
		super();
		this.value = value.booleanValue();
	}

	public Boolean get() {
		return value;
	}
	
	public GameProperty<Boolean> set(Boolean value) {
		this.value = value.booleanValue();
		return null;
	}

}
